package com.fj.netty.chat.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author fj
 * @date 2024/1/11 14:34
 */
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@Data
public class LoginRequestMessage extends Message{
    private String username;
    private String password;
    @Override
    public byte getMessageType() {
        return LOGIN_REQUEST_MESSAGE;
    }
}
